package Queue;


/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 石方旭
 * Date: 2022-05-12
 * Time: 14:47
 */
public class QueueTest {

    public static void main(String[] args) {
        MyQueue queue = new MyQueue();
        queue.offer(222);// 1 2
        queue.offer(2);//222 2
       // int x = queue.poll();
      //  System.out.println(x);
        System.out.println(queue.peek());
    }


}
